package org.example.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
public class User implements Serializable {
    /**
     * 唯一标识
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 盐
     */
    private String salt;

    /**
     * 手机号
     */
    private String tel;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建时间
     */

    private String createDate;

    /**
     * 部门id
     */
    private Integer deptId;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private Integer roleId;
    @TableField(exist = false)
    private String roleCoding;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}